package com.hpf.community.pojo;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * ${table.comment}实体类  与数据库一一对应,请勿轻易修改
 * </p>
 *
 * @author huangpengfei
 * @version 2020年04月04日---22:57:14
 * @description
 */
@Data
public class Class extends Model<Class> {

    private static final long serialVersionUID = 1L;

    public static final String ID = "ID";

    public static final String FACULTY = "FACULTY";

    public static final String MAJOR = "MAJOR";

    public static final String NAME = "NAME";

    public static final String CREATE_USERID = "CREATE_USERID";

    public static final String CREATE_DATETIME = "CREATE_DATETIME";

    public static final String MODIFY_USERID = "MODIFY_USERID";

    public static final String MODIFY_USERNAME = "MODIFY_USERNAME";

    public static final String STATUS = "STATUS";


    @TableId("ID")
    private String id;

    @TableField("FACULTY")
    private String faculty;

    @TableField("MAJOR")
    private String major;

    @TableField("NAME")
    private String name;

    @TableField("CREATE_USERID")
    private String createUserid;

    @TableField("CREATE_DATETIME")
    private Date createDatetime;

    @TableField("MODIFY_USERID")
    private String modifyUserid;

    @TableField("MODIFY_USERNAME")
    private String modifyUsername;

    @TableField("STATUS")
    private String status;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }


}
